package com.hui;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: 李昭辉
 * @Date: 2021/09/17/8:13
 * @Description:
 */
@SpringBootApplication
@MapperScan("com.hui.mapper")
@EnableDiscoveryClient
//@RefreshScope  // 开启刷新功能
public class GoodsApplication01 {
    public static void main(String[] args) {
        SpringApplication.run(GoodsApplication01.class, args);
    }
}
